package com.js.nickcar.entity.remote;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by LZY on 2017/10/4.
 */

public class CarSeriesBean implements Parcelable {

    private String car_series_id;
    private String series_name;
    private String image;

    public String getCar_series_id() {
        return car_series_id;
    }

    public void setCar_series_id(String car_series_id) {
        this.car_series_id = car_series_id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getSeries_name() {
        return series_name;
    }

    public void setSeries_name(String series_name) {
        this.series_name = series_name;
    }

    @Override
    public String toString() {
        return "CarSeriesBean{" +
                "car_series_id='" + car_series_id + '\'' +
                ", series_name='" + series_name + '\'' +
                ", image='" + image + '\'' +
                '}';
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.car_series_id);
        dest.writeString(this.series_name);
        dest.writeString(this.image);
    }

    public CarSeriesBean() {
    }

    protected CarSeriesBean(Parcel in) {
        this.car_series_id = in.readString();
        this.series_name = in.readString();
        this.image = in.readString();
    }

    public static final Parcelable.Creator<CarSeriesBean> CREATOR = new Parcelable.Creator<CarSeriesBean>() {
        @Override
        public CarSeriesBean createFromParcel(Parcel source) {
            return new CarSeriesBean(source);
        }

        @Override
        public CarSeriesBean[] newArray(int size) {
            return new CarSeriesBean[size];
        }
    };
}
